var express = require('express');
var router = express.Router();
var user=require('../db').user
/* GET home page. */
router.get('/', function(req, res, next) {
  user.find((err,doc)=>{
    res.send(doc)
  })
  // res.render('index', { title: 'Express' });
});

module.exports = router;
